package com.example.provider.service;

import com.example.common.entity.Bidding;
import com.example.common.entity.Demand;
import com.example.common.entity.Message;
import com.example.common.entity.WorkRoom;

import java.io.IOException;
import java.util.List;

public interface WorkroomService {
    Message applyWorkroom(WorkRoom workRoom);

    List<Demand> checkBidding(int id) throws IOException;

    int searchWIdById(int id);

    Message deleteBidding(int workroomId, long groupId);

    WorkRoom searchWorkroomByIdd(int idd);

    double getGrade(Bidding bidding) throws IOException;

    Message addBidding(Bidding bidding);

    WorkRoom checkById(int id);
}
